package com.ruoyi.web.controller.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 订单对象 order
 * 
 * @author ruoyi
 * @date 2020-12-24
 */
public class Order extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long no;

    /** 微信凭证 */
    @Excel(name = "微信凭证")
    private String openId;

    /** 商品序号 */
    private String id;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 价格 */
    @Excel(name = "价格")
    private String totalFee;

    /** 数量 */
    @Excel(name = "数量")
    private String number;

    /** 超市名称 */
    @Excel(name = "超市名称")
    private String shopName;

    /** 详情 */
    @Excel(name = "详情")
    private String materialsText;

    /** 图片 */
    @Excel(name = "图片")
    private String itemsImage;

    /** 创建日期 */
    @Excel(name = "创建日期")
    private String createdAt;

    public void setNo(Long no) 
    {
        this.no = no;
    }

    public Long getNo() 
    {
        return no;
    }
    public void setOpenId(String openId) 
    {
        this.openId = openId;
    }

    public String getOpenId() 
    {
        return openId;
    }
    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setTotalFee(String totalFee)
    {
        this.totalFee = totalFee;
    }

    public String getTotalFee()
    {
        return totalFee;
    }
    public void setNumber(String number) 
    {
        this.number = number;
    }

    public String getNumber() 
    {
        return number;
    }
    public void setShopName(String shopName) 
    {
        this.shopName = shopName;
    }

    public String getShopName() 
    {
        return shopName;
    }
    public void setMaterialsText(String materialsText) 
    {
        this.materialsText = materialsText;
    }

    public String getMaterialsText() 
    {
        return materialsText;
    }
    public void setItemsImage(String itemsImage) 
    {
        this.itemsImage = itemsImage;
    }

    public String getItemsImage() 
    {
        return itemsImage;
    }
    public void setCreatedAt(String createdAt) 
    {
        this.createdAt = createdAt;
    }

    public String getCreatedAt() 
    {
        return createdAt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("no", getNo())
            .append("openId", getOpenId())
            .append("id", getId())
            .append("name", getName())
            .append("totalFee", getTotalFee())
            .append("number", getNumber())
            .append("shopName", getShopName())
            .append("materialsText", getMaterialsText())
            .append("itemsImage", getItemsImage())
            .append("createdAt", getCreatedAt())
            .toString();
    }
}
